package document.model;

import java.util.List;
import java.util.ArrayList;

/**
 * User: fleipold
 * Date: 28-Nov-2007
 * Time: 21:56:47
 */
public class Part {

    List<Chapter> chapters = new ArrayList<Chapter>();
    String title;

    public List<Chapter> getChapters() {
        return chapters;
    }

    public void setChapters(List<Chapter> chapters) {
        this.chapters = chapters;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String toString() {
        return title;
    }
}
